[camera_android_camerax] Add the ability to unit test skills. - #12285
Conversation
There was a problem hiding this comment.
I think this is no longer used. remove
| DisplayOrientedMeteringPointFactory(CameraInfo cameraInfo, double width, double height); | ||
| } | ||
|
|
||
| // dummy eval modification |
There was a problem hiding this comment.
This file should not be checked in. This is leaked state from an eval.
0d0aa4d to
68f87b7
Compare
There was a problem hiding this comment.
Code Review
This pull request adds the run-evals skill, including its evaluation configurations, templates, and scripts, and introduces a test suite in packages/camera/camera_android_camerax to verify the structural consistency of evaluation files. Feedback on these changes highlights issues with hardcoded repository paths in the skill documentation, a missing reference to code_quality_rubric.json in the evaluation configuration, and the use of Directory.current.path in tests, which may cause failures when executed from the repository root.
68f87b7 to
c8f0176
Compare
camsim99
left a comment
There was a problem hiding this comment.
LGTM! Just a question about dart_skills_lint references in the run-evals skill
|
|
||
| # Run Skill Evals | ||
|
|
||
| 1. **Read Framework**: Read `tool/dart_skills_lint/evals/README.md` for understanding the difference between per-skill evals and cross-skill evals. |
There was a problem hiding this comment.
What if tools/dart_skills_lint is not in the context? Should the references to it be links instead?
There was a problem hiding this comment.
flutter/agent-plugins#196. Will update this pr when 196 lands.
This reverts commit 26657f3.
|
autosubmit label was removed for flutter/packages/12285, because - The status or check suite Dashboard Checks has failed. Please fix the issues identified (or deflake) before re-applying this label. |
|
Override justification: These changes are not user facing but contributor facing. PR #12299 addresses exampting evals from version and changelog checking. |
|
autosubmit label was removed for flutter/packages/12285, because - The status or check suite Dashboard Checks has failed. Please fix the issues identified (or deflake) before re-applying this label. |
…r#190142) flutter/packages@6969329...3e63635 2026-07-28 269567208+reidbaker-agent@users.noreply.github.com [camera_android_camerax] Add the ability to unit test skills. (flutter/packages#12285) 2026-07-28 stuartmorgan@google.com [ci] Tag dependabot PRs with `triage-android` (flutter/packages#12142) 2026-07-26 engine-flutter-autoroll@skia.org Roll Flutter from e292197 to 9988960 (1 revision) (flutter/packages#12288) 2026-07-25 engine-flutter-autoroll@skia.org Roll Flutter from b65f4d9 to e292197 (19 revisions) (flutter/packages#12287) 2026-07-24 engine-flutter-autoroll@skia.org Roll Flutter from 2a2a79d to b65f4d9 (30 revisions) (flutter/packages#12284) 2026-07-24 engine-flutter-autoroll@skia.org Roll Flutter (stable) from 84fc5cb to 058e0af (6 revisions) (flutter/packages#12282) If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/flutter-packages-flutter-autoroll Please CC flutter-ecosystem@google.com on the revert to ensure that a human is aware of the problem. To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose To report a problem with the AutoRoller itself, please file a bug: https://issues.skia.org/issues/new?component=1389291&template=1850622 Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
This pr is blocked by #12298. This came up in #12297. I decided landing the tool focused pr was much easier to review than stacking this work on #12285 - @reidbaker --- Agent authored pr description This PR exempts .agents and evals directories from triggering missing changelog and version update errors. TAG=agy CONV=24c0c9b5-7e8d-407c-ae84-a577061bd6ff
Add the concept of evals for skills to camera_android_camerax this is part of project-oneshot.
This is basically the equivalent of llm unit tests.
The idea and harness comes from dart_skills_lint see flutter/agent-plugins#189
The infra for running evals can and should be replaced by a tool that is designed for this use case when it is available.
In the meantime, the valuable parts are the evals.jsons files. They document the expectations for the skills under test in this repo. - @reidbaker
Agent authored description
Updates agent evals for check-readiness and run-evals, including fixing missing license blocks and enforcing relative paths.
Evaluation Results:
cross_skill_rubricEval ID 1: Failure Scenario
Eval ID 2: Success Scenario